package com.source.baseData.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.source.baseData.entity.PoultryCategoryParent;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Joey
 * @since 2021-02-22
 */
public interface PoultryCategoryParentService extends IService<PoultryCategoryParent> {

    IPage<PoultryCategoryParent> findAllOnPagination(Page<PoultryCategoryParent> page);

    String findNameById(String id);

    List<PoultryCategoryParent> findByKeyWord(String keyWord);
}
